Fix app crash in SettingsActivity.java