public void SetCurrentState(string message, ProgressState type) { if (type == ProgressState.Normal) { interactor.UpdateWaitScreen(message); } else if (type == ProgressState.Error || type == ProgressState.Fatal) { interactor.RemoveWaitScreen(); interactor.ShowError("Error Occurred", message); } }