search and settings storage in SharedPreferences