* added function for exit button