Added shutter button

And fixed preview not being restarted after takePicture.
Also added callback so any activity can do something when takePicture is called and when takePicture has finished.