register focus on top of visibilitychange

If you install an app, the browser has hold of a promise that will change the button states.

But it's different for app uninstalls because that's done outside Marketplace.