{
	"id": "com.skypanther.segmentedcontrol",
	"name": "com.skypanther.segmentedcontrol",
	"description": "Cross-platform tabbed bar (segmented control) component for Appcelerator Titanium Alloy projects.",
	"author": "Tim Poulsen, @skypanther",
	"version": "1.0.5",
	"copyright": "Copyright (c) 2016, Tim Poulsen",
	"license": "MIT",
	"min-alloy-version": "1.5.1",
	"min-titanium-version": "4.0",
	"tags": "",
	"platforms": "android,ios"
}
{
	"id": "com.skypanther.segmentedcontrol",
	"name": "com.skypanther.segmentedcontrol",
	"description": "Cross-platform tabbed bar (segmented control) component for Appcelerator Titanium Alloy projects.",
	"author": "Tim Poulsen, @skypanther",
	"version": "1.0.6",
	"copyright": "Copyright (c) 2016, Tim Poulsen",
	"license": "MIT",
	"min-alloy-version": "1.5.1",
	"min-titanium-version": "4.0",
	"tags": "",
	"platforms": "android,ios"
}

Fix bug in select() and add getIndex()
Fix bug in select() and add getIndex()

A bug in select() didn't deselect previous values
New getIndex() function to retrieve current value