Add comment for ToggleSelected function