Fix issue when switching pages the analysis status turned to red