fix display preferences save