Replace PreferencesFormLegacy usages with PreferencesFormOOUI