         
         var share = proposedServices
         let plainText = NSSharingService(title: "Copy", image: image, alternateImage: image, handler: {
-            self.copyText()
+            self.copyContent()
         })
         share.insert(plainText, at: 0)
         

    }
    
    @IBAction func shareAction(_ sender: NSButton) {
        let sharedItems = [textView.string];
        
        let servicePicker = NSSharingServicePicker(items: sharedItems)
        servicePicker.delegate = self

        drawButton.state = drawingView.isHidden == false ? .on : .off
    }
    
    func copyContent() {
        if drawingView.isHidden == false {
            
            if let image = imageFromScene() {
                NSPasteboard.general.clearContents()
                NSPasteboard.general.writeObjects([image])
            }
