Backport !719 “packagekit: Update addon's state on an application removal” to gnome-40
When an application is removed, its addons might be removed as well. Update the addons' state as well, to make sure it reflects the current state.
Closes #289 (closed)
Trivial backport of !719 (merged) to gnome-40
.