Changed an attribute of the date picker