Delete the click function and alter the if statement to fit it to your recording variable or list system.
If you use this please credit