setButtonGroup

Assigns the BaseButton to the ButtonGroup and removes itself from its previous.