setDefault = () => {
    if (localStorage.userKeys) localStorage.removeItem('userKeys');
    if (getOS() === "MacOS") {
        const macDefaultKeys = {};
        for (let [key, value] of Object.entries(defaultKeys)) {
            if (value.split(" + ")[0] == "Ctrl");
            macDefaultKeys[key] =
                value.split(" + ")[0] == "Ctrl"
                    ? value.replace("Ctrl", "Meta")
                    : value;
            localStorage.set("defaultKeys", macDefaultKeys);
        }
    } else {
        localStorage.set("defaultKeys", defaultKeys); //TODO add a confirmation alert
    }
    addKeys("default");
}
Function used to set defaultKeys, grabs the keycombo from the defaultkeys metadata
sets it to the localStorage & cals addKeys
removes the userkeys from localStorage if present
also checks for OS type