Refresh the active tab only if the URL matches