Added function to shutter button