From what I understood they knew Diana had died an hour before they officially announced it.
Yes - announcements are not made instantly. They get certain things in place first.