how do I get the value from a segmented control, to see which option is selected? intValue doesn't seem to be working...