Prevent the header "show time" button from redirecting to the wrong page