Add proper functionality for adding items from menu to a table.