public static int getCategoryIndex(String... category) {
		final WidgetChild catlist = Widgets.get(SELECT_WIDGET, CATEGORY_DROP_DOWN);
		if (catlist == null)
			return -1;
		WidgetChild[] children = catlist.getChildren();
		String[] strs = new String[children.length];
		int loc = 0;
		for (WidgetChild sub : children) {
			String text = sub.getText();
			if (text != null && text.length() > 0) {
				strs[loc++] = text.toLowerCase();
			} else {
				loc++;
			}
		}
		System.out.println(Arrays.toString(strs));
		for (String cat : category) {
			cat = cat.toLowerCase();
			for (int i = 0; i < loc; i++) {
				if (strs[i] != null && (strs[i].contains(cat) || cat.contains(strs[i])))
					return i;
			}
		}
		return -1;
	}