Disable undo button if peers are connected