Custon State button created
State button added
Hooked up to the event handler