Added option to sum events with same title