Blocking error solved when there is no any site uploaded.
Nav-tab class-activated when visiting current page.