I tried to change the listindex to the old one, but that generates another click event.
set a boolean variable to false, then change the listindex then set the variable back to true. Test the variable on entry to the click even and if it's false, exit immediately