Add localstorage
Use when to load application data async