public void run()
	{
		while(keepSaving)
		{
			int min =5*60*1000;
			try {
				checkState();
				save();
				Thread.sleep(min);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		}
	}