Clean up ButtonGroup a little bit.

Test plan:
Visit the test page, click the button group that's used to configure the
interactive graph and the number line widget.

Auditors: brianmerlob