force the state of a stateful action - this fixes the issue where an accelerator is used to activate rather than a menu option - issue #208
fix missing import of RB