                 for path in [tmpImagePath, tmpMoviePath] {
                     let _ = try? NSFileManager.defaultManager().removeItemAtPath(path)
                 }
+                self.exportSession = nil
+                self.updateViews()
             }
         }
+        exportSession = session
+        updateViews()
     }
 
     private func showInFinderAndOpenInPhotos(fileURLs: [NSURL]) {

        tf.editable = false
        tf.drawsBackground = false
        tf.textColor = NSColor.grayColor()
        tf.bind("stringValue", toObject: self, withKeyPath: "positionsLabelText", options: nil)
    }
    @objc private var positionsLabelText: String {
        guard let time = posterFrameTime else { return "" }
        let duration = CMTimeGetSeconds(time)
        let minutes = Int(floor(duration / 60))
        let seconds = Int(floor(duration - Double(minutes) * 60))
        let milliseconds = Int((duration - floor(duration)) * 100)
        let timeString = String(format: "%02d:%02d.%02d", minutes, seconds, milliseconds)
        return "Poster Frame: \(timeString)"
    }

    private lazy var createLivePhotoButton: NSButton = NSButton() ※ { b in

        autolayout("V:[posterView][positionsLabel][createLivePhoto]-p-|")

        setupAspectRatioConstraints()
        updateViews()
    }

    private func setupAspectRatioConstraints() {
