You shouldn't need to do anything here if icon is toggled off, so maybe a quick check:

```
    if (!_attached) {
        return;
    }
```