Added support for Menus without a previous state