Fixed the backstack
Now the back functionality keeps the whole stack among repository switches.