add menu event listener