     FSHelper.resetRegistry()
     @stopAllWatchers()
     @machines = []
+
+
+  store: (key, value, callback) ->
+
+    callback ?= kd.noop
+    if @getOption('saveChanges') is no
+      return callback null
+    @appStorage.setValue key, value, callback


    prefs = @appStorage.getValue('machinesDotFileChoices') or {}
    prefs[uid] = state
    @appStorage.setValue 'machinesDotFileChoices', prefs


  getRecentFolders: ->

    treeOptions.maxRecentFolders  = options.maxRecentFolders  or= 10
    treeOptions.useStorage        = options.useStorage         ?= no
    treeOptions.loadFilesOnInit   = options.loadFilesOnInit    ?= no
    treeOptions.saveChanges       = options.saveChanges        ?= yes
    treeOptions.delegate          = this

    super options, data

    TreeControllerClass = options.treeControllerClass or NFinderTreeController
    @treeController     = new TreeControllerClass treeOptions, []
