This won't work if you are adding the menu customisation to the normal template.

I do agree with Steve (lucas), however, that you could include the customization in the AddIn instead of adding it every time you open and deleting it every time you close.