UI prefs to use prefs setup.Removed old preffs class