Unregister the correct click function.