substituting the right icon variable