Attach event handler only once per extension load instead of stacking on multiple events each time extension shows an update