capture image when button is pressed

Demonstrates image capture when button is pressed. %H and %M add hour and minute to file name, hence subsequent image file are not replaced, every button click stores current click with new name.