Fix for missing Title

Navigating to a page, refreshing and pressing the back button results in `Cannot read property 'title' of undefined` since the cache is cleared on refresh.

This stores the title along with the state and falls back to it if it's not in the cache.