This adds an onRefresh option for app menus so we can update custom controls in any opened window. In this case, we need to refresh the checkbox state in the addon-installed panel. We test this using the theme install test and verify both windows do not have the checkbox. Differential Revision: https://phabricator.services.mozilla.com/D23224