private void UninstallLibraryFromListItem(LibraryListItem libraryListItem)
 {
     if (libraryListItem.ButtonText != "Uninstall")
     {
         return;
     }
     LibraryManager.UninstallLibrary(libraryListItem);
     IsRestartRequired = true;
 }
        private async Task InstallLibraryFromListItemAsync(LibraryListItem libraryListItem)
        {
            if (libraryListItem.ButtonText != "Install")
            {
                return;
            }
            await LibraryManager.InstallLatestVersionOfLibraryAsync(libraryListItem);

            IsRestartRequired = true;
        }