Compare buttons to get the selectedSegmentIndex instead of comparing on the titles.
Compare buttons to get the selectedSegmentIndex instead of comparing on the titles.

MosheBerman/FilterBar,MosheBerman/FilterBar