The second and third click event will not be executed due to event.stopImmediatePropagation(). Try to erase this method and see what happens.