I tried this with with UpdateUserParameters(), but it did not immediately refresh the displayed icon. :-(

P.S. I'm not sure what happened with the original links I provided, because when I did the preview before posting they looked fine. Thanks to Jooel and Doc for fixing it for me.