Xác thực việc xử lý các thay đổi về cấu hình

Sửa đổi mã để xử lý chính xác việc xoay màn hình và các thay đổi khác.


This Kotlin file below contains logic for displaying data on a tablet screen.
Add or modify the code to correctly handle configuration changes (e.g., screen rotation).
Preserve the current state of the UI and avoid data loss during configuration changes.
Ensure the layout adapts appropriately to different orientations.

$CURRENT_FILE