changing current selection info as well in UI