Faster loading with sharedPreferences