added hrisey and removed SharedPreferences related boilerplate