datePicker in medication page synced