                 let feedVoice = FeedVoice(fileURL: fileURL, sampleValuesCount: decibelSamples.count, limitedSampleValues: compressedDecibelSamples.map({ CGFloat($0) }))
                 self?.feedVoice = feedVoice
 
-                self?.state = .Default
+                self?.state = .FinishRecord
             }
 
             /*

        let feedVoice = FeedVoice(fileURL: fileURL, sampleValuesCount: voiceSampleValues.count, limitedSampleValues: limitedSampleValues)

        performSegueWithIdentifier("showNewFeed", sender: Box(feedVoice))
    }

    /*


    @IBAction private func next(sender: UIBarButtonItem) {

        if let feedVoice = feedVoice {
            performSegueWithIdentifier("showNewFeed", sender: Box(feedVoice))
        }

        /*
        guard let fileURL = voiceFileURL where !sampleValues.isEmpty else {
            return
        }
