Added datepicker date selection.