SettingsActivity: Improve version detection