Code updated: SettingsActivity