       return warn err  if err
 
       existingApps = @filterAppsFromFileList files
-
-      for app in existingApps
-        newApps.push app  if app not in currentApps
-
-      for app in currentApps
-        removedApps.push app  if app not in existingApps
+      newApps      = app for app in existingApps when app not in currentApps
+      removedApps  = app for app in currentApps  when app not in existingApps
 
       log "APPS FOUND IN AppStorage:", currentApps
       log "APPS FOUND IN FS:", existingApps

  syncAppStorageWithFS:(force=no, callback=noop)->

    currentApps = Object.keys(@getManifests())
    removedApps = []
    newApps     = []

    log "Synchronizing AppStorage with FileSystem..."



    for key, app of @getManifests()
      fileTypes = app.fileTypes
      continue  unless fileTypes
      for type in fileTypes
        map[type] or= []
        map[type].push app.name

    # Still there should be a more elagant way to add ace file types into map.
    for type in KD.getAppOptions("Ace").fileTypes
      map[type] or= []
      map[type].push "Ace"

  fetchUserDefaultAppConfig: ->
