bugfix in SettingsActivity (isFragmentValid)