Changed the menu transaction logic