call updateBadge in the event listeners that handle storage directly
AssistantExt (JS) version 0.9.1