Implement button-group widget