added the exit button