fixing bug with time zone toggle switch