Implemented local storage into app.