Updating the UI and making use of the notifications.