Using push buttons to control shutter not working as desired