Fix preferences menu