addKeys = (mode) => {
    shortcut.removeAll();
    if (mode === "user") {
        localStorage.removeItem("defaultKeys");
        let userKeys = localStorage.get("userKeys");
        for (let pref in userKeys) {
            let key = userKeys[pref];
            key = key.split(" ").join("");
            addShortcut(key, pref);
        }
        updateHTML("user");
    } else if (mode == "default") {
        if (localStorage.userKeys) localStorage.removeItem("userKeys");
        let defaultKeys = localStorage.get("defaultKeys");
        for (let pref in defaultKeys) {
            let key = defaultKeys[pref];
            key = key.split(" ").join("");
            addShortcut(key, pref);
        }
        updateHTML("default");
    }
}
Function used to add or change keys user or default
grabs the keycombo from localstorage &
calls the addShortcut function in a loop to bind them
@param {string} mode - user custom keys or default keys