Removed a bug in the segmented control