       'fuzzy-finder:toggle-git-status-finder': =>
         @createGitStatusView().toggle()
 
-    @startLoadPathsTask() if atom.project.getPaths().length > 0
+    if atom.project.getPaths().length > 0
+      process.nextTick => @startLoadPathsTask()
 
     for editor in atom.workspace.getTextEditors()
       editor.lastOpened = state[editor.getPath()]

      default: []

  activate: (state) ->
    atom.commands.add 'atom-workspace',
      'fuzzy-finder:toggle-file-finder': =>
        @createProjectView().toggle()

      @gitStatusView = null
    @projectPaths = null
    @stopLoadPathsTask()
    @active = false

  serialize: ->
    paths = {}
