Fix preferences page not displayed