### Short title The pause state is reset when the app is brought back from lockscreen or background ### Describe the bug When pausing the scan, then locking or coming back from the background the pause state is reset and the scan continue. It can lead to loss of scan data if the user moved to another location in the mean time. ### Steps to reproduce 1. Open the app 2. Click the pause button on the upper right 3. Lock your phone 4. Unlock your phone ### Expected behavior The state of the pause button should not change when brought back ### Relevant logs/screenshots _No response_ ### Reproduction frequency Always ### Severity / Impact Low ### Device model Pixel 8 ### Android version / API level Android 16 ### WiFiAnalyzer version 3.2.2 ### Additional context _No response_ ### AI Assistance No AI tools were used