What do you want the button to do? Do you want it to drive the LED while the button is down or do you want it to toggle, so the first press switches it off and the second switches it off or do you you want it to switch on for certain time when you press it and then off, or something else?
If you want it to toggle then does a ui_switch node do everything you want except that it looks like a switch instead of a button?