Now when a page is reloaded, active menu is set correctly