only reset validation flag once we actually went to the background