Moved table logic to separate class and fixed adding new order items to
table.