datepicker buttons works together