Select the path when active tab