Adding delegate method to determine when a cell's state has changed.