     }
 
     // Stop to replay
-    public func stopReplay(){
+    public func stopReplay() {
         if internalPlayer.isPlaying {
             internalPlayer.stop()
         } else {

        if !permissionGranted {
            print("Permission to record not granted")
            throw NSError(domain: NSURLErrorDomain, code: NSURLErrorUnknown, userInfo: nil)
        } else  {
            print("Permission to record granted ! ")
        }


        if tape == nil {
            // We create a record file in temp directory
            do {
                self.tape = try AKAudioFile() } catch let error as NSError {
                print ("AKMagneto Error: Cannot create an empty tape")
                throw error
            }
