save dim the ligths preference