Sending the key event