Changes made to get button activated and pressing it making it flash twice as fast