@Override
	public void run() {
		while (!stopped && worker.isAlive()) {
			int nextLen = list.size();
			if (lastLen != nextLen) {
				model.refreshDisplay(lastLen);
				lastLen = nextLen;
			}
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		model.refreshDisplay(-1);
	}