     if result == .cancelled || result == .failed {
       controller.dismiss(animated: true, completion: nil)
     } else {
-      controller.dismiss(animated: true) { self.closeShare() }
+      controller.dismiss(animated: true) { self.removeStationAndCloseView() }
     }
   }
 

      return
    }

    let license = "\(Defaults[.license] == License.cc40 ? "CC4.0" : "CC0")"

    if let twitterController = SLComposeViewController(forServiceType: SLServiceTypeTwitter) {
      twitterController.setInitialText("\(name) \(license) \(tags)")
      twitterController.add(image)
      present(twitterController, animated: true, completion: nil)
    } else {
      showError("Es können keine Tweets verschickt werden.")
    }
  }

  func closeShare() {
    dismiss(animated: true, completion: nil)
  }


        return
      }

      var text = "Bahnhof: \(name)\n"
      text += "Lizenz: \(Defaults[.license] == License.cc40 ? "CC4.0" : "CC0")\n"
      text += "Accountname: \(username)\n"
      text += "Verlinkung: \(Defaults[.accountLinking] == true ? "Ja" : "Nein")\n"
      text += "Accounttyp: \(Defaults[.accountType] ?? AccountType.none)"

      let mailController = MFMailComposeViewController()
      mailController.mailComposeDelegate = self
