Modify classes to set the cell status randomly