Adding an exit button