This happens because the app must remain open during your entire workout. If you minimize or close the app (for example, to change music or answer a call), the connection to the bike’s Bluetooth signal is idle. While the app keeps counting time, it cannot receive workout data from the bike in the background. As a result, your training history may show missing or incorrect values for distance, watts, calories, etc.