fix giveup so it closes the activity