My App keeps restarting to the first screen

Perhaps the problem is that the block uses the transition to the sidebar. As far as I know, the transition unit works only with screens.