added logic so that the light on the button comes on for 2 seconds during a button push then turns of