added specify time checkbox and improves
added updateSelectedDate wrapper to ensure time is not lost when date is selected