Preferences now working.