More changes to the dynamic datepicker