Changed labels and added setResult