Controlling a LED from an HTML webserver store in an SD

That code was designed for a checkbox, not a button.