The name indicates that this function just "select" stuff... i would change it to: "change_items_selection"