private void forceUpdateFilterPanes() {
		projects.removeListSelectionListener(projectsListener);
		contexts.removeListSelectionListener(contextsListener);
		
		List<String> selectedProjects = (List<String>) projects.getSelectedValuesList();
		List<String> selectedContexts = (List<String>) contexts.getSelectedValuesList();
		
		ArrayList<String> myProjects = taskBag.getProjects(false);
		ArrayList<String> myContexts = taskBag.getContexts(false);
		
		Util.prependString(myProjects, "+");
		Util.prependString(myContexts, "@");
		
		myProjects.add(0, JdotxtGUI.lang.getWord("Uncategorized"));
		myProjects.add(0, JdotxtGUI.lang.getWord("All_projects"));
		
		myContexts.add(0, JdotxtGUI.lang.getWord("Uncategorized"));
		myContexts.add(0, JdotxtGUI.lang.getWord("All_contexts"));
		
		String[] projectsString = new String[myProjects.size()];
		myProjects.toArray(projectsString);
		
		String[] contextsString = new String[myContexts.size()];
		myContexts.toArray(contextsString);
		
		projects.setListData(projectsString);
		contexts.setListData(contextsString);
		
		ArrayList<Integer> selectedProjectsIndices = new ArrayList<Integer>();
		ArrayList<Integer> selectedContextsIndices = new ArrayList<Integer>();
		
		for (int k1 = 0; k1 < projectsString.length; k1++) if (selectedProjects.contains(projectsString[k1])) selectedProjectsIndices.add(k1);
		for (int k1 = 0; k1 < contextsString.length; k1++) if (selectedContexts.contains(contextsString[k1])) selectedContextsIndices.add(k1);
		
		if (selectedProjectsIndices.size() == 0) projects.setSelectedIndex(0);
		else projects.setSelectedIndices(Util.integerList2IntArray(selectedProjectsIndices));
		if (selectedContextsIndices.size() == 0) contexts.setSelectedIndex(0);
		else contexts.setSelectedIndices(Util.integerList2IntArray(selectedContextsIndices));
		
		if(pane1.getViewport().getView() != projects) {
			pane1.setViewportView(projects);
			pane2.setViewportView(contexts);
		}
		
		if (selectedProjectsIndices.size() == 0) projectsListener.forceValueChanged();
		else if (selectedContextsIndices.size() == 0) contextsListener.forceValueChanged();
		
		projects.addListSelectionListener(projectsListener);
		contexts.addListSelectionListener(contextsListener);
	}