SettingsFragment.java Class cast exception fix