     }
 
     func retryLastAction() {
-        self.log("Retrying action")
+        self.log("Retrying action: \(self.currentCommand)")
         switch self.currentCommand {
             //this should never happen
-            case .GetTargetDeviceInfo,
-                    .GetCommissionerDeviceInfo,
-                    .ChooseFlow,
+            case .ChooseFlow,
                     .OfferToAddOneMoreDevice,
                     .ShowInfo,
                     .ChooseSubflow,

                break


            case .ConnectToTargetDevice,
                    .ConnectToCommissionerDevice,
                    .EnsureLatestFirmware,
                    .EnsureTargetDeviceCanBeClaimed,

                self.commissionerDevice = nil
                self.bluetoothManager.dropConnection(with: connection)


                self.currentStep = self.currentFlow.index(of: .GetCommissionerDeviceInfo)!
                self.pause = false

                self.fail(withReason: .CommissionerNetworkDoesNotMatch)
            }
        }
    }
