changed button exit