Manage App layout on route and session events