The call 'List<ListItem> listItems = db.getInventory();' also crashed the app