I got this piece of code to save some data in the controller to the localstorage:
PHP Code:
onAddTap: function() {
        var 
record Ext.ComponentQuery.query('#sessionDetail')[0].getData();
        var 
tracklistStore this.getTracklistStore();
        
console.log(tracklistStore);
        
tracklistStore.add(record);
        
tracklistStore.sync();
        
Ext.Msg.alert('Added the session to your tracklist');
    }, 
This goes well in 1 session, but when I reload the application all my records in the local storage are gone again.

I defined a localstorage proxy with an id property in my Model, and the store is basic (and it has an autoLoad property).

Can anyone tell me how to make it persistent?