pause menu key press listener implemented