Send notifications on the main thread.

In this case I think it's bad practice to send out notifications on a background thread. Usually this kind of notification will trigger some UI update which must be on the main thread.