             v.imageView.image = currentlySelectedImageThumbnail ?? inputPhoto.originalImage
         default: ()
         }
-    }
-    
-    @objc
-    func cancel() {
-        didCancel?()
-    }
-    
-    @objc
-    func save() {
-        if let f = selectedFilter,
-            let applier = f.applier,
-            let ciImage = inputPhoto.originalImage.toCIImage(),
-            let modifiedFullSizeImage = applier(ciImage) {
-            inputPhoto.modifiedImage = modifiedFullSizeImage.toUIImage()
-        } else {
-            inputPhoto.modifiedImage = nil
-        }
-        didSave?(YPMediaItem.photo(p: inputPhoto))
     }
     
     fileprivate func thumbFromImage(_ img: UIImage) -> CIImage {

        let smallImage = UIGraphicsGetImageFromCurrentImageContext()
        UIGraphicsEndImageContext()
        return smallImage!.toCIImage()!
    }
}


        v.imageView.isUserInteractionEnabled = true
    }
    
    // MARK: Setup - ⚙️
    
    fileprivate func setupRightBarButton() {
        let rightBarButtonTitle = isFromSelectionVC ? YPConfig.wordings.done : YPConfig.wordings.next
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: rightBarButtonTitle,
                                                            style: .done,
                                                            target: self,
                                                            action: #selector(save))
        navigationItem.rightBarButtonItem?.tintColor = YPConfig.colors.tintColor
    }
    
    // MARK: - Methods 🏓

    @objc
    fileprivate func handleTouchDown(sender: UILongPressGestureRecognizer) {
        switch sender.state {
        case .began:
            v.imageView.image = inputPhoto.originalImage
