Deal with fast app resume in Universal Sample (fixes #74)