button flashes on click