This is not as easy because the control/container/window just lost his focus (and other properties) when the context menu is opened. So Control.hasFocus(12500) or something else is useless. I suggest to use the category widget to place the options for changing/update scraper.
For this, add at beginning of the include "WidgetListCategories" (Includes_Home.xml)
Code:
<param name="additional_pvr_items">false</param>
and at the end of the include (behind <content target=...>
Code:
<include condition="$PARAM[additional_pvr_items]" content="PVRSubmenuItems">
Take a look a few lines later to the includes "MovieSubmenuItems" or "TVShowsubmenuItems" and apply the syntax to your new created include "PVRSubmenuItems". This should do the trick. Don't forget to set the parameter "additional_pvr_items" to true in Home.xml (near line 394, or search for id 12900).
Code:
<param name="additional_pvr_items" value="true"/>
EDIT: I've made a pull request to your github repo.