public boolean addHotkeyBinding(HotkeyEntry entry) {
        if (!this.fileLoaded) {
            return false;
        }

        try {
            XMLNode hotkeysNode = this.rootNode.getChildNodesByType("hotkeys")[0];
            XMLNode newBinding = new XMLNode("hotkey");
            newBinding.addChildNode(new XMLNode("name", entry.getName()));
            newBinding.addChildNode(new XMLNode("comb", entry.getCombination()));
            if (entry.isTrayPopup()) {
                newBinding.addParameter(new KeyValue<String, String>("tray-popup", "true"));
            }

            hotkeysNode.addChildNode(newBinding);
        } catch (Exception ex) {
            return false;
        }

        this._getHotkeys();
        
        return true;
    }