added is for toggling the DatePicker