this code to capture button and the after save it to photo
because, When I press the shutter button, the screen goes blank.
from here