persisting with shared prefs