Push Button with two functions

You'll need to keep track of the state of the LED but you don't need all that counting stuff you did.

Actually, you do. The LED needs to be turned off after 10 seconds OR another switch press. That can't happen inside the switch-just-became-pressed block.