Added ability to change the type of cell in the menu.