 
     // Function will be called when setup finishes
     func particleSetupViewController(_ controller: ParticleSetupMainController!, didFinishWith result: ParticleSetupMainControllerResult, device: ParticleDevice!) {
-        
         if result == .loggedIn
         {
             self.performSegue(withIdentifier: "start", sender: self)

        c?.brandImage = UIImage(named: "particle-horizontal-head")
        c?.brandImageBackgroundColor = .clear
        c?.brandImageBackgroundImage = nil
//        c.deviceImage = UIImage(named: "imgPhoton")
        c?.tintSetupImages = true
        c?.allowPasswordManager = true
        c?.lightStatusAndNavBar = true
        
        #if ORG_TEST_MODE
            
            ParticleSetupCustomization.sharedInstance().organization = true
            ParticleSetupCustomization.sharedInstance().organizationSlug = "dinobots"
            ParticleSetupCustomization.sharedInstance().productSlug = "ido-test-product-1"

            self.performSegue(withIdentifier: "start_no_animation", sender: self)
        }
    }

    func checkFontNames()
    {
        for family in UIFont.familyNames
