fix bug in DateRangePicker.cs