private void stopEditingCollection() {

		// Removes collection edit selection stuff
		if (selectingCollection && editingCollection) {

			screenManager.removeImageButton("Edit collection");
			screenManager.removeImageButton("Delete collection");
		}
		// Remove editingCollection stuff
		else if (!editingCollection && selectingCollection) {
			cp5.getController("enter collection name").setVisible(false);
		}
		// Removes everything!
		else {
			screenManager.removeImageButton("Save Collection");
			screenManager.removeImageButton("Set Key");
			screenManager.removeImageButton("Add File");
			screenManager.removeImageButton("Delete File");
			screenManager.removeImageButton("Edit collection");
			screenManager.removeImageButton("Delete collection");
			cp5.getController("enter collection name").setVisible(false);
			selectingCollection = false;
			collectionSelected = false;
			editingCollection = false;
		}
	}