changed loading of menu items to action based rather than int based