Well, I still need to process my event and to make the comparison, right ? I replace the 2 with  getClickCountToStart and add a call to the matching setter in LegendTree.