Make sure notifications are called on main thread