[Migration] Fix duplicated confirmAlertView by replacing NSRunloop-run to dispatch_after.