         }
     }
     
-    func rename(_ sting: Sting) {
+    func presentRenameDialog(for sting: Sting) {
         let alertController = UIAlertController(title: "Rename", message: nil, preferredStyle: .alert)
         alertController.addTextField { textField in
             textField.text = sting.name

        }
        alertController.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
        alertController.addAction(UIAlertAction(title: "OK", style: .default, handler: { action in
            guard let name = alertController.textFields?.first?.text else { return }
            sting.name = name.isEmpty == false ? name : nil
            self.show.updateChangeCount(.done)
            self.reloadItems([sting])
        }))
        present(alertController, animated: true, completion: nil)
    }
    
    @IBAction func playSting() {

                self.performSegue(withIdentifier: "Edit Sting", sender: sting)
            }
            let rename = UIAction(title: "Rename", image: UIImage(systemName: "square.and.pencil")) { action in
                self.presentRenameDialog(for: sting)
            }
            var colorActions = [UIAction]()
            for color in Color.allCases {
