The fact that a particular row is red needs to be stored somewhere. You could add a Yes/No field to the table, use the command button to set or clear the field and then use condition formatting to color the row.
But I suspect you need to do more than just color a row. If you tell us what you need to do we could give better advice