Added event handling for toggling transparency with Key Tap Gesture