Shows what “it” ? It’s not clear what you have got and what you expect.
Contact Items have states of OPEN or CLOSED. You can’t change that, that’s what they do.
You can use a MAP in an Item’s label to change the displayed text into “banana” and “custard” if you like. It only changes the text displayed, the Item state is still OPEN/CLOSED.
Dynamic icons are selected by raw state, not transform.
someicon-closed still applies if you use a text transform to “banana”.
You must always have a default version of an icon, with no hyphen part. Always.
Some browsers and apps use .png format icons, some use .svg format icons. You may need to look further into that if you use different UIs.
There are defaults that you can select for BasicUI. Older IoS apps only use .png if I recall correctly.