I tried to use local storage to achieve that but it didn't work. I used "Set Array to Array". Then when I enter the layout with the scores I've done "On start of layout - Set "Array" to Localstorage.itemvalue"
Here is how I save and load an array:
The save event (lets say click "save" button) triggers the following actions to save High Scores array (we'll call this "hscore":
Object Local Storage: Set item "hscore_key" to hscore.AsJSON
On Layout Start:
Object Local Storage On item "hscore_key" exists: Get item "hscore_key"
Object Local Storage on item "hscore_key" get: Object hscore (the array) Load from JSON string LocalStorage.ItemValue