fixing bug where couldnt change daylight to PM in addevent dialogue