Swift 4.0 Table View Cell Button, Change Button Image once Clicked : Currently my project has a Table View Controller with a button and text on each row. I am having a problem figuring out how to change the image of the button on a particular row once it is clicked. 

Currently I have a button event function that is called every-time a button in a row is clicked. The problem I am having is I have no idea how to access a that particular button in the row that was clicked and only change the image of that button. 

Here is my code:

        override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

        let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as! TableViewCell

        // Setting Text and images
        cell.batchName.text = processes[indexPath.item].batch_name
        cell.startTime.text = processes[indexPath.item].starttime
        cell.endTime.text = processes[indexPath.item].endtime
        cell.slaTime.text = processes[indexPath.item].SLA
        var statusColor = UIColor.black
        
        // Calling Button event function
        cell.starButton.addTarget(self, action: #selector(favoriteStarClicked), for: UIControlEvents.touchUpInside)

        return cell
    }
    
    @IBAction func favoriteStarClicked(_ sender: Any) {
        
        // Need to change the image of the button that was clicked 
    }

