Added picture callback function and set an onclicklistener to the camera capture button