Refactor app.LocalStorage.