Fixed back navigation by adding global context to PageStateManager