     
     func createOrRetrieveCoreWalletPassword() -> String {
         os_log("createOrRetrieveCoreWalletPassword", log: log, type: .debug)
+        if(isRegTestModeEnabled && !isRegTestModeChanging) {
+            return regTestCoreAPIPassword
+        }
+        
         let serviceNameData = (keychainServiceName as NSString).utf8String
         let accountNameData = (keychainAccountName as NSString).utf8String
         

    
    var isDevModeEnabled : Bool = false
    
    var isShutdown : Bool = false
    
    let keychainServiceName = "blockstack-core-wallet-password"

            menu.addItem(corsProxyPortMenuItem)
            
            let corePortMenuItem = NSMenuItem()
            var title = "Core node running on port \(coreProxyPort)"
            if(isRegTestModeChanging) {
                title = "Core node changing regtest mode state..."
            } else if(isRegTestModeEnabled) {
                title = "Core node is not running. Please start your regtest core node."
            }
            corePortMenuItem.title = title
            corePortMenuItem.isEnabled = false
            menu.addItem(corePortMenuItem)
            
