                                                                message: L("common_check_internet_connection_dialog"),
                                                                rightButtonTitle: L("downloader_retry"),
                                                                leftButtonTitle: L("cancel")) {
-                                                                self.performAfterValidation(action: action)
+                                                                self.performAfterValidation(anchor: anchor,
+                                                                                            action: action)
       }
     }
   }

  
  func startUploadAndPublishFlow() {
    Statistics.logEvent(kStatSharingOptionsClick, withParameters: [kStatItem : kStatPublic])
    performAfterValidation { [weak self] in
      if let self = self {
        self.performSegue(withIdentifier: self.kPropertiesSegueIdentifier, sender: self)
      }

  
  func uploadAndGetDirectLink() {
    Statistics.logEvent(kStatSharingOptionsClick, withParameters: [kStatItem : kStatPrivate])
    performAfterValidation(anchor: getDirectLinkCell) { [weak self] in
      guard let s = self, s.categoryId != MWMFrameworkHelper.invalidCategoryId() else {
        assert(false, "categoryId must be valid")
        return
