upd: Preferences window