Device Detect

I developed this firefox extension purely for Android: https://addons.mozilla.org/it/android/addon/device-detect/

currently emerges a problem with this browser extension for Android: I
don’t see in the native menu and in PageActions to Firefox for
Android, the voice and icon associated “Detect my Device”. Firefox
version 45 is that used on my tablet Samsung Android 4.4.2. This is main file of extension: https://addons.mozilla.org/it/android/files/browse/424674/file/index.js and I used High Level APIs

Please,
Someone can tell me if I have used correctly NativeWindow.menu.add and
PageActions API fennec in index.js file of my add-on Device Detect?

Thanks in advanced to help me in this project

It might be const recent = utils.getMostRecentBrowserWindow();

It may be the caching. I know when I did an android addon a bit ago that even though it seemed like there was one window, it would close and open again (without having exited). There was some funkiness where I had to use Services.wm.getMostRecentBrowser('navigator:browser')

Your NativeWindow usage looks fine.

Also looks fine by the docs:

https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/

Thank You Noit…
These your informations is really precious on the proper usage of Fennec API