Change the matching cards number when changing the selected item in the segmented control