removed uncessesary switch in pickDayNight dialog