 
   var textView: TextView!
   var textSize: CGFloat = 0.0
+  var navbarBackground: KMNavigationBarBackgroundView!
 
   private var getStartedVC: GetStartedViewController!
   private var infoView: InfoViewController!

        navigationController?.navigationBar.setBackgroundImage(#imageLiteral(resourceName: "navbar-Landscape.png"), for: UIBarMetrics.default)
      }
    }
    popover?.dismiss(animated: false)
    _ = dismissDropDownMenu()
  }

  override func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
    if infoView?.view?.isHidden ?? true {
      setNavBarButtons()
    }


    // Setup NavigationBar
    // TODO: refactor
    if let nb = navigationController?.navigationBar {
      navbarBackground = KMNavigationBarBackgroundView()
      navbarBackground.addToNavbar(nb)
      navbarBackground.setOrientation(UIApplication.shared.statusBarOrientation)
    }

    // Setup Keyman TextView
    textSize = 16.0
    textView = TextView(frame: view.frame)
    textView.setKeymanDelegate(self)
    textView.viewController = self
    textView.backgroundColor = bgColor
