Changed so the notification text runs on main thread