setObserver
Set observer.
Setting a new observer replaces the previously-set observer.
Not having an observer if there is any account may result in assertion failures or weird behaviour.
Parameters
observer
The observer that should receive all events, or null to have none.