 
         self.accountLabel.setStyle(font: MeshSetupStyle.RegularFont, size: MeshSetupStyle.SmallSize, color: MeshSetupStyle.PlaceHolderTextColor)
         self.accountLabel.text = ParticleCloud.sharedInstance().loggedInUsername ?? ""
+    }
+
+    override func viewDidAppear(_ animated: Bool) {
+        super.viewDidAppear(animated)
 
         UIApplication.shared.isIdleTimerDisabled = true
     }

                //this is the end of create network flow
                let successVC = MeshSetupNetworkCreatedViewController.loadedViewController()
                successVC.setup(didSelectDone: self.didSelectSetupDone, deviceName: self.targetDeviceName!)
                self.embededNavigationController.pushViewController(successVC, animated: true)
            } else {
                //this is the end of joiner flow
                let successVC = MeshSetupSuccessViewController.loadedViewController()
                successVC.setup(didSelectDone: self.didSelectSetupDone, deviceName: self.targetDeviceName!)
                self.embededNavigationController.pushViewController(successVC, animated: true)
            }
        }
    }

        DispatchQueue.main.async {
            let updateFirmwareVC = MeshSetupFirmwareUpdateProgressViewController.loadedViewController()
            updateFirmwareVC.setup(didFinishScreen: self.targetDeviceFirmwareUpdateScreenDone)
            self.embededNavigationController.setViewControllers([updateFirmwareVC], animated: true)
        }

        self.flowManager.setTargetPerformFirmwareUpdate(update: true)
