Fix bug in 'give up' button

Authored by sandroandrade on Dec 12 2016, 3:43 AM.