Fix references to preferences.xml