change headerbar title on selection change.