Changed tabListener to use url saved in local storage