IMO, would be nicer to make urlChanged check within updateNewtabData, and then this could be merged with it.