when adding a new gesture, detecting whether it is too similar with an existing gesture