Improving animation behavior when menu icon is clicked.
The animation will now stop immediately and restart when the menu closes if we are still syncing.
Removing comment: we don’t need caching here as it is provided by the system.