public void run()
	{
		while(true) {
			try{
				long t = System.currentTimeMillis();
				//check if products are still up to date and put the new ppc id in ppc otherwise
				if(!vn.validateProducts(init.getPPC()))
				{
					barPanel.initBarProducts();
					System.out.println("Er is een product geupdate");
				}
				//Set the last update date to now
				dBUpdate.runUpdate(String.format("UPDATE clients SET last_client_update = NOW() WHERE client_id = %d",init.getCurClient().getID()));
				dBUpdate.commit();
				System.out.println("Tijd nodig: " + Long.toString(System.currentTimeMillis()-t));
				Thread.sleep(500);
			}
			catch(InterruptedException e){
				e.printStackTrace();
			}

		}
	}