Removed the argument app from the menu creation. Added a function to register the implementation dependent action-macro.