Fixed crash in SettingsActivity