Multiple popup fix and Unpdate on extension icon second click