public DonationPage()
 {
     license = new License.License();
     license.GetPrice();
     var p = SettingsModel.Current.Preferences;
     Theme = p.GetTheme();
     license.LicenseChanged += License_LicenseChanged;
     this.InitializeComponent();
     Task.Run(async () =>
     {
         while (license.Price.IsNullorEmpty())
             await Task.Delay(100);
         await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.High, new Windows.UI.Core.DispatchedHandler(() =>
          {
              PurchaseSlider_ValueChanged(null, null);
              TextBlock_Loaded(null, null);
              Button_Loaded(null, null);
              PurchaseSlider.ValueChanged += PurchaseSlider_ValueChanged;
              LoadingPanel.Visibility = Visibility.Collapsed;
              LoadingRing.IsActive = false;
          }));
     });
 }