This does? Something on KitKat?

```Java
return MainSettingsActivity.class.getName().equals(fragmentName) || 
        NameSelectionPreferenceFragment.class.getName().equals(fragmentName)