Added the action listener for move and attack