If we are in the check image process, that means we are wanting to jump to the app (assuming check is successful). If we get an update command from UI during the check, I think that should take precedence - abort the check and service the update request.
You moved it, but didn't change anything. The comment says it's a timer counter but the variable name suggests it is actually a flow rate. I want you to fix the comment.