private static void OnFileDeleted(object sender, FileSystemEventArgs e)
    {
        string profileName = Path.GetFileNameWithoutExtension(e.FullPath);

        AvailableProfiles.Remove(profileName);

        ReloadActiveConfiguration();
    }
    private static void OnFileRenamed(object sender, RenamedEventArgs e)
    {
        string oldProfileName = Path.GetFileNameWithoutExtension(e.FullPath);

        AvailableProfiles.Remove(oldProfileName);

        string profileName = Path.GetFileNameWithoutExtension(e.FullPath);

        if (!AvailableProfiles.ContainsKey(profileName))
        {
            AvailableProfiles[profileName] = new Profile(e.FullPath);
        }

        ReloadActiveConfiguration();
    }