LUN-1507 : fix toggle for datepickers