Send notifications on the main thread. It is bad practice to send that kind of notifications on a background thread.
Merge pull request #7 from miklselsoe/master

Send notifications on the main thread.