Interface to watch for changes to the back stack.
Called whenever the contents of the back stack change.