Added support for advanced options to button group. Added test. Updated
button group sample.