Added newTile state to avoid double clicks.