save data in shared prefs
Bug fixes