button group component created and used on map as mode switcher