Optimized SettingsActivity