Oh my god this is awful. Dude. Use a switch to set the icon state and send the usr message afterwards.