     let cancel = UIAlertAction(title: "Cancel", style: .default, handler: nil)
     alert.addAction(clear)
     alert.addAction(cancel)
-    alert.popoverPresentationController?.barButtonItem = navigationItem.rightBarButtonItems?[4]
+    alert.popoverPresentationController?.barButtonItem = navigationItem.rightBarButtonItems?[6]
     present(alert, animated: true, completion: nil)
   }
 

    } else {
      let vc = UIViewController()
      vc.modalPresentationStyle = .popover
      vc.popoverPresentationController?.barButtonItem = navigationItem.rightBarButtonItems?[6]
      vc.view = containerView
      vc.preferredContentSize = containerView.frame.size
      present(vc, animated: true, completion: nil)


  private var getStartedVC: GetStartedViewController!
  private var infoView: InfoViewController!
  private var popover: UIViewController?
  private var textSizeController: UISlider!
  private var dropdownItems: [UIBarButtonItem]!

