     return rawOptions
 
   handlePlaygroundSelection: (playground, manifestUrl) ->
+    unless manifestUrl
+      for manifest in @playgroundsManifest when playground is manifest.name
+        {manifestUrl} = manifest
+
     @doCurlRequest manifestUrl, (err, manifest) =>
       @teamwork.startNewSession @mergePlaygroundOptions manifest, playground
       @teamwork.container.setClass playground

            }
          ]
      ]

  populatePlaygroundsButton: (playgrounds) ->
    button   = @teamwork.getActivePanel().headerButtons.Playgrounds
    menu     = []

    playgrounds.forEach (playground) =>
      item   = {}
      {name} = playground
      item[name] = {}
      item[name].callback = =>
        @handlePlaygroundSelection name, playground.manifestUrl

      menu.push item

    button.setOption "menu", menu

  showToolsModal: (panel, workspace) ->
    modal       = new KDModalView

    else
      @teamwork.on "PanelCreated", =>
        @doCurlRequest playgroundsManifest, (err, manifest) =>
          @playgroundsManifest = manifest

  createTeamwork: ->
    options               = @getOptions()
