code: function revertTitleBarColor() {
      var appView = Windows.UI.ViewManagement.ApplicationView.getForCurrentView();
      if (isWin10UWP && !isBgColorTransparent) {
          appView.titleBar.backgroundColor = titleInitialBgColor;
          appView.titleBar.buttonBackgroundColor = titleInitialBgColor;
      }
  }
docs: Revert title bg color