Added back key event handler