Application-StateStack works, although it is a bit complicated