refresh the icon view when toggling selection mode so that the checkboxes appear or disappear