Improve callback mechanism and add demo for bang.
Add callback interactive with activty.