Change numResults in setResult method