Button logic

Your using delay()'s in your code - That's wrong! You may get the result you are looking for if you keep your finger on the button for 10 or 20 seconds.

Other wise start by looking at blink with out delay!.

Mark