blink a led with push button

byte ledStates[] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};
If that's the case then that array serves no purpose.