Close #45 I setSelectedSegmentIndex for the segmented control.