This is your problem.
Read the “Defining your physical switch and LED” section of this tutorial…
Pete.