ECMS-5528: Refresh the page after switching mode