Dashboard icon state slowly updated

Hi welcome to the forum.

Please have a look on how to format your code properly: How to help us help you - or How to ask a good questionFormat it properly