private void update(){
        	if (searchBoxContainsQuery()) {
        		if (searchThread.getState() != Thread.State.NEW) {
            		searchThread.interrupt();
            		searchThread = new SearchThread(model, view.getSearchBoxText(), db);
            	}
        		searchThread.start();
        	}
        }