                 center.deliverNotification(notification)
             }
         }
+    }
+    
+    func userNotificationCenter(center: NSUserNotificationCenter, shouldPresentNotification notification: NSUserNotification) -> Bool {
+        return true
     }
     
     func userNotificationCenter(center: NSUserNotificationCenter, didActivateNotification notification: NSUserNotification) {

            }
            
            let latestVersion = versionToArray(latestVersionString)
            let currentVersion = versionToArray(currentVersionString)
            
            // check there is a newer version available
            if currentVersion.lexicographicalCompare(latestVersion) {
                let notification = NSUserNotification()
                notification.title = "Beleef De Lente Screensaver"
                notification.subtitle = "Nieuwere versie van de screensaver beschikbaar"
                notification.informativeText = "U wordt verzocht de vernieuwde versie van de 'Beleef De Lente' screensaver te installeren."
                notification.soundName = NSUserNotificationDefaultSoundName

                let center = NSUserNotificationCenter.defaultUserNotificationCenter()

    
    private func checkForNewerVersion() {
        APIManager.sharedInstance.getVersion() { version, error in
            guard let latestVersionString = version?.latest else {
                Log.error?.message("could not get latest version")
                return
            }
