Bug fixed: navigation between main page view and history view.