//Save the customized inputs in the PlayerPrefs file
    public void Save()
    {
        foreach (var key in codes)
        {
            PlayerPrefs.SetString(key.Key, key.Value.ToString());
        }

        PlayerPrefs.Save();
        GameInputManager.UpdateInputs();
    }