if performance concernr you this function is called once per user click per icon and this if cannot be replaced by fsel
fixed anyway