     },{
       title: 'Calendar'
       id: 'calendar'
+    }, {
+      title: 'Advanced'
+      id: 'advanced'
     }]
   ]
 
 mainMenu.on 'select', (e) ->
   switch e.item.id
     when 'toWatch'
-        displayToWatchMenu()
-
-
-
-if PEBBLE_DEVELOPER?
-  newSectionIndex = mainMenu.state.sections.length
-  mainMenu.items newSectionIndex, [
-    title: 'Developer tools'
-    id: 'developer'
-  ]
-  mainMenu.on 'select', (e) ->
-    switch e.item.id
-      when 'developer'
-        devMenu = new UI.Menu
-          sections: [
-            items: [{
-              title: 'Reset localStorage'
-              action: localStorage.clear()
-            }, {
-              title: 'SAY MY NAME!'
-              action: -> console.log 'YOU\'RE HEISENBERG'
-            }]
-          ]
-
-        devMenu.on 'select', (e) -> e.item.action()
-        devMenu.show()
+      displayToWatchMenu()
+    when 'advanced'
+      advancedMenu = new UI.Menu
+        sections: [
+          items: [{
+            title: 'Reset localStorage'
+            action: -> localStorage.clear()
+          }, {
+            title: 'Refresh'
+            action: -> refreshModels()
+          }]
+        ]
+      advancedMenu.on 'select', (e) -> e.item.action()
+      advancedMenu.show()
 
 mainMenu.show()
-refreshModels()
-
-console.log "PEBBLE_DEVELOPER: " + typeof PEBBLE_DEVELOPER
-
+

  url = if opt.url
    opt.url
  else
    if opt.action[0] != '/'
      opt.action = '/' + opt.action
    "https://api-v2launch.trakt.tv" : opt.action

  data = opt.data


    headers:
      'trakt-api-version': 2
      'trakt-api-key': '16fc8c04f10ebdf6074611891c7ce2727b4fcae3d2ab2df177625989543085e9'
      Authorization: "Bearer #{accessToken}"
    method: method
    data: data
    success
    (response, status, req) ->
      if status == 401
        console.log "Server says that authorization is required"
        displaySignInWindow()
      console.log "Request failure (#{status} #{method} #{url})"
      failure(response, status, req)


# Set a configurable with the open callback
