I\'m using a switch statement to handle keydown events for a music player app. Sometimes when you press spacebar, it results in the event retriggering (you can see what I me