/**
* Toggles the icon. If the window has gained focus and the icon is still
* showing the activity state, it is returned to normal.
/**
* Toggles the icon. If the window has gained focus and the icon is still
* showing the activity state, it is returned to normal.