Example of using Android Preferences