inserting actions into the correct menu