added datePicker for the date bar button