I would like to make a screen transition with the following code, but I cannot. The reason why we need to use the if branch is because we want to transition to the confirmation