Refactored click handler to provide moves. next stage is for it to no longer execute the move.