fixed broken button "Exit preferences"