Set datepicker issue