Changed button to use custom messages instead of state to communicate events.