The c button is to clear the board. The lights are to check your mistakes.
I used the original project above, adjusted the code a bit, and made the project look like OSX.