Run an if-else once

Have a look at the blink without delay tutorial to allow you to not use "delay()", and make your code more responsive.