This task involves building a stopwatch screen displaying elapsed time in HH:MM:SS format.
Implementation Guidance
– The stopwatch must continue running accurately even when the user navigates away to a different screen — its state should not depend on which screen is currently displayed
– Separate the timing logic (tracking elapsed time) from the rendering logic (drawing the time to screen) so they can operate independently
– Use a semaphore to coordinate access to shared display resources if the stopwatch is updating concurrently with other screen logic
– Avoid resetting the stopwatch’s elapsed time simply because the user navigated to a different screen and back