finish datepicker