Prevent update when there is no change for datepicker.