Suppress deprecation warning

As we currently cannot yet switch to PreferenceFragments, we still need to use these deprecated methods