public async Task Refresh()
        {
            await App.Driver.Instance.LoadPlugins();

            AppInfo.PluginManager.Load();

            (Application.Instance.MainForm as MainForm).Refresh();
            pluginList.Refresh();
        }
        public async Task Refresh(PluginMetadataCollection newRepository)
        {
            Repository = newRepository;

            await App.Driver.Instance.LoadPlugins();

            AppInfo.PluginManager.Load();

            (Application.Instance.MainForm as MainForm).Refresh();
            pluginList.Refresh();
        }
        public async Task Refresh(PluginMetadataCollection newRepository)
        {
            Repository = newRepository;

            await App.Driver.Instance.LoadPlugins();

            AppInfo.PluginManager.Load();

            // Refresh settings
            App.Current.Settings = await App.Driver.Instance.GetSettings();

            pluginList.Refresh();
        }