Repaired resuming on iOS6