Handle the case where we re-enter the advanced inventory and move or pickup all.

As reported in #9242 if you try a to "move all" a second time without exiting the advanced inventory, it does nothing.
The activity cleanup code assumed that if you reached it, the current activity is done, so it deleted the current activity, which was pickup or move items, then handled the next activity, which was to re-enter the menu.