Fix bug where one button could be flashed more than one time at once.