Removing a reference to the obsolete stateManager

Changing the reference to use a router strategy that I know works, but
is probably wrong. If someone wants to show a better way to do this,
I'll update the PR?