Using ContentObserver instead of events