Refactored hightlightRange support by moving rangeStartDate and rangeEndDate into widgets.