Prevent multiple click events