Bringing back the code on the Main Thread to display the UIAlert.

UI Code is not displayed when called on a Background thread.

Did you test this UIAlert? :-)