The local storage is only active so long as the app is running. If you close the app the local storage is cleared.
You have to have a server database to save data between sessions, or just keep your app open constantly.
One side question, what if they simply change the system time?