public void searchOffline(String q) {
		searchResult.clear();
		ArrayList<Product> off = Main.products;
		if(!q.equals(""))
		for (int i = 0; i < off.size(); i++) {
			if (off.get(i).getpId() == Integer.valueOf(q)) {
				searchResult.add(off.get(i));
				break;
			}
		}
	}