Fixing problems if app info is destroyed.