Howe can I get a button to start a RF 433MHz transmitter to send a message?

This is a mistake in the code

the code for turning on the light doesn't exit. Just ignore the coments about the led.