Clean up prefs.ui