         self.url = url
         self.apiSecret = apiSecret
         self.allowNotifications =  allowNotif
+        
+        if let notificcationsArray = aDecoder.decodeObjectForKey(PropertyKey.notificationKey) as? [UILocalNotification] {
+            self.notifications = notificcationsArray
+        }
     }
-}+}

        static let siteKey = "site"
        static let allowNotificationsKey = "notifications"
        static let uuidKey = "uuid"

    }
    
    var url: NSURL!

        aCoder.encodeObject(apiSecret, forKey: PropertyKey.apiSecretKey)
        aCoder.encodeBool(allowNotifications, forKey: PropertyKey.allowNotificationsKey)
        aCoder.encodeObject(uuid, forKey: PropertyKey.uuidKey)
        
        aCoder.encodeObject(notifications, forKey: PropertyKey.notificationKey)
    }
    
    /*
