button not working

Please post your latest code here with the corrections already suggested in this thread.

How are you getting on using millis() for timing ?

Have you read Using millis() for timing. A beginners guide, Several things at the same time and looked at the BlinkWithoutDelay example in the IDE.