Don't waste troops, when accidentally clicked on, a way to change it included
When you go to attack, and you accidentally deploy a barbarian you have to surrender and lose trophys and this is so annoying so I have an idea which can change it.
When scouting bases, there you should be a "Attack" button on the top and the "Next" button positioned where it normally is, kind of like when you scout bases in clan war when the clan war has started. So you can't deploy any troops until you click the "Attack" button.