settings: test SharedPreference