fix problem of setMinDate on DatePicker