iOS: fix a bug of showing survey when application is launched through an expired notification