Fixes a bug when crash occurs in didFinishLaunchingWithOptions