I am setting up a table with an I have this code:

```
UIButton *done = [[UIButton alloc]initWithFrame:CGRectMake(20, 25, 40, 40)];
[done setImage:[UIImage imageNamed:@"unchecked.png"] forState:UIControlStateNormal];
[done addTarget:self action:@selector(done:) forControlEvents:UIControlEventTouchUpInside];
[cell addSubview:done];
return cell;

```

This doesn't work beacuse this button is only declared in this scope and I want to simply change its image on this click