Adding the keydown action handler when the x key is pressed