Use LiveData and handle device rotation.
Use LiveData and handle device rotation.