change headerbar title on selection change.
implemented select all and select none.