         speakPlayButton.setTitle(rwf.isPlayingBack() ? "Stop" : "Play", for: UIControlState.normal)
     }
     
-    @IBAction func speakSubmit(sender: UIButton) {
+    @IBAction func speakSubmit(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.addRecording(description: "This is my recording!")
     }
     
-    @IBAction func speakImage(sender: UIButton) {
+    @IBAction func speakImage(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.doImage()
     }
     
-    @IBAction func speakPhotoLibrary(sender: UIButton) {
+    @IBAction func speakPhotoLibrary(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.doPhotoLibrary(mediaTypes: [kUTTypeImage as String])
     }
     
-    @IBAction func speakMovie(sender: UIButton) {
+    @IBAction func speakMovie(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.doMovie()
     }
     
-    @IBAction func speakText(sender: UIButton) {
+    @IBAction func speakText(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.addText(string: "Hello, world!")
     }
     
-    @IBAction func speakDelete(sender: UIButton) {
+    @IBAction func speakDelete(_ sender: UIButton) {
         let rwf = RWFramework.sharedInstance
         rwf.deleteRecording()
     }

    @IBOutlet var listenCurrentButton: UIButton!
    
    
    @IBAction func listenPlay(sender: UIButton) {
        let rwf = RWFramework.sharedInstance
        rwf.isPlaying ? rwf.stop() : rwf.play()
        listenPlayButton.setTitle(rwf.isPlaying ? "Stop" : "Play", for: UIControlState.normal)
    }
    
    @IBAction func listenNext(sender: UIButton) {
        RWFramework.sharedInstance.next()
    }
    
    @IBAction func listenCurrent(sender: UIButton) {
        RWFramework.sharedInstance.current()
    }
    

        speakRecordButton.setTitle(rwf.isRecording() ? "Stop" : "Record", for: UIControlState.normal)
    }
    
    @IBAction func speakPlay(_ sender: UIButton) {
        speakProgress.setProgress(0, animated: false)
        let rwf = RWFramework.sharedInstance
        rwf.stop()
