Button bar changes and Added new button type for use with buttonBar
Click handling to onClick.