Reordered the creation of menuitems and keys, to put keys first, so the menuitems can be associated with them.
Reordered the creation of menuitems and keys, to put keys first, so the menuitems can be associated with them.

codefisher/mozbutton_sdk,codefisher/mozbutton_sdk