How do you reset macro icon back to default after combat

How do you make the macro icon reset back to its default. I have seen some macros that after combat they reset back to default icon and you can then mouse over them to see the macro name. Others stay at the spell icon. I thought it was reset after combat but looking at the macros these are checked for all. What am I missing?

it resets back to the first spell - it will show whatever that first spell is.

Check out this setting too

Thats exactly what this setting does (provided of course that on your macro you havnt overridden it)

It resets the macro back to the first spell (initial state) and shows that spells icon.