Implemented sharedPreferences for Android