public void actionPerformed(ActionEvent e) {
				if(inverseColoring.isSelected()){
					coloringMode = 3;
					tileBarViews.clear();
					for(int i = 0;tileBarPanels.size() > i;i++){
						tileBarViews.add(new TileBarView(repository.get(i), i, thisInstance, USE_CHAPTER_FREQUENCY_COLORING, coloringMode, 20, 20, redQueryList.get(i), greenQueryList.get(i), blueQueryList.get(i), redQueryStrings.get(i), greenQueryStrings.get(i), blueQueryStrings.get(i)));
						for(int j = 0;j < selectedChapters.get(i).size();j++){
							tileBarViews.get(i).setSelected(selectedChapters.get(i).get(j));
						}
						if(keepTrackIfMagnifyRevertWasAlreadyPressed.get(i).getBoolean() == true){
							tileBarViews.get(i).generateMagnifiedTileBar(selectedChapters.get(i));
						}
					}
					updateTileBarInterface();
				}
				else {
					coloringMode = 2;
					tileBarViews.clear();
					for(int i = 0;tileBarPanels.size() > i;i++){
						tileBarViews.add(new TileBarView(repository.get(i), i, thisInstance, USE_CHAPTER_FREQUENCY_COLORING, coloringMode, 20, 20, redQueryList.get(i), greenQueryList.get(i), blueQueryList.get(i), redQueryStrings.get(i), greenQueryStrings.get(i), blueQueryStrings.get(i)));
						for(int j = 0;j < selectedChapters.get(i).size();j++){
							tileBarViews.get(i).setSelected(selectedChapters.get(i).get(j));
						}
						if(keepTrackIfMagnifyRevertWasAlreadyPressed.get(i).getBoolean() == true){
							tileBarViews.get(i).generateMagnifiedTileBar(selectedChapters.get(i));
						}
					}
					updateTileBarInterface();
				}
            }