Added event for Exit button