processSelection changes