Adding button Exit + Event

-- Button Exit and Event associated on the main frame