Fix for edit profile which correctly sets the hour or day drop-down.