Added a date restriction to the date picker