Preference window with new class