void SavePlayer(Activity activity) { player = new Player(firstName.Text, lastInitial.Text, selectedAvatar); PreferencesHelper.WriteToPreferences(activity, player); }