Optimize the Inventory Table:
1. Enable the table paging
2. Use container.addItem instead of table.addItem
3. Remove unnecessary code in displayInventoryDetails()