title: Chrome extension background page inactive makes the extension run on 2 clicks
body: <p>I have an extension which runs on a background page, the browserAction icon requires 2 clicks at max few seconds apart for the extension to start running background.js so I tried to see what's the issue, with chrome://extensions page loaded which states for my extension:Background page inactive. When I click one time the state changes to background page active and then the next click actually runs the extension, I couldn't see what's the issue, I use <code>chrome.runtime.reload()</code> at a couple of places, maybe that's the issue but what's the solution?
  Thanks in advance</p>