     }
     
     public func playAlarmFor(url: NSURL, urgent: Bool = false) {
+        
         let assetName = urgent ? "alarm2" : "alarm"
-        let audioUrl = url.URLByAppendingPathComponent("/audio/\(assetName).mp3")
-        
-        var downloadTask:NSURLSessionDownloadTask
-        downloadTask = NSURLSession.sharedSession().downloadTaskWithURL(audioUrl, completionHandler: { (URL, response, error) -> Void in
-            
-            do {
-                self.audioPlayer = try AVAudioPlayer(contentsOfURL: URL!)
-                self.play()
-            } catch let error as NSError {
-                print(error.localizedDescription)
-            } catch {
-                print("AVAudioPlayer init failed")
-            }
-        })
-        
-        downloadTask.resume()
+        
+        let bundle = NSBundle(forClass: AlarmManager.self)
+        
+        let audioUrl = NSURL.fileURLWithPath(
+            bundle.pathForResource(assetName,
+                ofType: "mp3")!)
+        
+        
+        // let audioUrl = url.URLByAppendingPathComponent("/audio/\(assetName).mp3")
+        /*
+         var downloadTask:NSURLSessionDownloadTask
+         downloadTask = NSURLSession.sharedSession().downloadTaskWithURL(audioUrl, completionHandler: { (URL, response, error) -> Void in
+         
+         do {
+         self.audioPlayer = try AVAudioPlayer(contentsOfURL: URL!)
+         self.play()
+         } catch let error as NSError {
+         print(error.localizedDescription)
+         } catch {
+         print("AVAudioPlayer init failed")
+         }
+         })
+         */
+        //downloadTask.resume()
+        
+        do {
+            self.audioPlayer = try AVAudioPlayer(contentsOfURL: audioUrl)
+            self.play()
+        } catch let error as NSError {
+            print(error.localizedDescription)
+        } catch {
+            print("AVAudioPlayer init failed")
+        }
+        
+        
     }
     
     public func updateSnoozeButtonText() {
         // var snoozeText: String = "Snooze"
         if AlarmRule.isSnoozed() {
-            snoozeText = "Snoozed for " + String(AlarmRule.getRemainingSnoozeMinutes()) + "min"
+            snoozeText = String(format: Constants.LocalizedString.snoozeMessage.localized, AlarmRule.getRemainingSnoozeMinutes())
+            
+                //"Snoozed for " + String(AlarmRule.getRemainingSnoozeMinutes()) +  Constants.LocalizedString.min.localized
             print(snoozeText)
         }
     }

        dispatch_async(dispatch_get_main_queue()) { [weak self] in
            self?.alarmManagerDelegates.forEach { $0.alarmManagerHasChangedAlarmingState(isActive: self?.active ?? false, urgent: self?.urgent ?? false, snoozed: AlarmRule.isSnoozed()) }
        }

    }
    
    public func removeAlarmManagerDelgate<T where T: AlarmManagerDelgate, T: Equatable>(delegate: T) {

    
    private var mute : Bool = false
    
    public var snoozeText: String = Constants.LocalizedString.snoozeLabel.localized
    
    private var active: Bool = false
    private var urgent: Bool = false
    
    private init() {
        AlarmRule.snoozeSeconds(4)
    }
    
    deinit {
