setting up date picker