Datepicker event integration