Optimize reloads by only calling updateTitle and updateIcon only when we have state changes for those.