I was only able to put the button inside the ControlGroup, but not in the "tools" container since ControlGroups have no "tools" container (like standard details). The result was as follows:
It seems that its impossible to put the button beside the group, but it's possible to put it inside the group using the code like below: