This should help you fix the problem: https://www.windowscentral.com/fix-pending-apps-windows-10-store