Deleting APITableModel and APITableWidget