Add inter-component communication via notify()
Refine sample with notify()