add buttonGroup widget