chrome.contextMenus.create({"title": "OpenList", "id": "OpenList-ContextMenuOpen", "contexts":["selection"]});

chrome.contextMenus.onClicked.addListener(function(info, tab) {
    openList(info.selectionText);
})

chrome.runtime.onInstalled.addListener(function(details) {
    chrome.contextMenus.create({"title": "OpenList", "id": "OpenList-ContextMenuOpen", "contexts":["selection"]});

    chrome.contextMenus.onClicked.addListener(function(info, tab) {
        if (info.menuItemId === "OpenList-ContextMenuOpen") {
            openList(info.selectionText);
        }
    });
});

remove redundant addition of context menu item