Merge header in endPreviousDay() not addEvent()