         
         // 5
         self.presentViewController(optionMenu, animated: true, completion: nil)
-    
-    }
-
+        
+    }
+    
     func invokeElectronSetup() {
         Mixpanel.sharedInstance().timeEvent("Tinker: Electron setup activity")
         let esVC : ElectronSetupViewController = self.storyboard!.instantiateViewControllerWithIdentifier("electronSetup") as! ElectronSetupViewController

    
    func addRefreshControl()
    {

//        let refreshFont = UIFont(name: "Gotham-Book", size: 17.0)
        
        self.photonSelectionTableView.addPullToRefreshWithPullText("Pull To Refresh", refreshingText: "Refreshing Devices") { () -> Void in
//        self.photonSelectionTableView.addPullToRefreshWithPullText("Pull To Refresh", pullTextColor: UIColor.whiteColor(), pullTextFont: refreshFont, refreshingText: "Refreshing Devices", refreshingTextColor: UIColor.whiteColor(), refreshingTextFont: refreshFont) { () -> Void in
            SparkCloud.sharedInstance().getDevices() { (devices:[AnyObject]?, error:NSError?) -> Void in
                self.handleGetDevicesResponse(devices, error: error)
                self.photonSelectionTableView.finishLoading()

                }
                
                Mixpanel.sharedInstance().track("Tinker: Start Tinkering", properties: ["device":deviceTypeStr, "running_tinker":vc.device.isRunningTinker()])
                
            }
        }
    }
    
    
    override func viewWillAppear(animated: Bool) {
        if SparkCloud.sharedInstance().loggedInUsername != nil
