         
         navigationItem.leftBarButtonItem = closeBarButtonItem
         
-        navigationItem.rightBarButtonItem = shareBarButtonItem
         navigationItem.titleView = segmentedControl
         
         touchDownGestureRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(EditImageViewController.handleTouchDownGestureRecognizer(_:)))

            }
            
            navigationItem.setLeftBarButtonItem(closeBarButtonItem, animated: true)
            navigationItem.setRightBarButtonItem(shareBarButtonItem, animated: true)
            
            currentAnnotationView = nil
        }

            presentViewController(alert, animated: true, completion: nil)
        }
        else {
            dismissViewControllerAnimated(true, completion: { })
        }
    }
    
