modifying date picker