Added mouse listener selection depending on the aggregation operator