Added export functionality to Inventory tab.