         let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
         actionSheet.addAction(copyAction(for: indexPath))
         actionSheet.addAction(shareAction(for: indexPath))
+        actionSheet.addAction(cancelAction(for: indexPath))
 
         present(actionSheet, animated: true)
     }
+}
 
-    private func copyAction(for indexPath: IndexPath) -> UIAlertAction {
+private extension LogDetailsViewController {
+
+    func copyAction(for indexPath: IndexPath) -> UIAlertAction {
         return UIAlertAction(title: "Copy value", style: .default) { [weak self] (action) in
             guard let self = self else { return }
 

        }
    }

    private func shareAction(for indexPath: IndexPath) -> UIAlertAction {
        return UIAlertAction(title: "Share value", style: .default) { [weak self] (action) in
            guard let self = self else { return }


            self.tableView.deselectRow(at: indexPath, animated: true)
        }
    }

    func cancelAction(for indexPath: IndexPath) -> UIAlertAction {
        return UIAlertAction(title: "Cancel", style: .cancel, handler: { [weak self] (action) in
            self?.tableView.deselectRow(at: indexPath, animated: true)
        })
    }
}
