}
// Modify a note's tags
@SuppressWarnings("unused")
private void modifyTags() {
TagAssign tagWindow = new TagAssign(allTags, currentTags, !conn.getNotebookTable().isLinked(currentNote.getNotebookGuid()));
tagWindow.exec();
if (tagWindow.okClicked()) {
currentTags.clear();
StringBuffer tagDisplay = new StringBuffer();
List<QListWidgetItem> newTags = tagWindow.getTagList()
.selectedItems();
for (int i = 0; i < newTags.size(); i++) {
currentTags.add(newTags.get(i).text());
tagDisplay.append(newTags.get(i).text());
if (i < newTags.size() - 1) {