Add import and export functions to TableWidget