added a break in the blinking loop if the button is unpushed