Maybe I should have said you were very close.
Here's another suggestion:
When you flip a row, obviously it's only the contents of that row that matter.
So, for example, when you flip a row that is WWWB, you get BBBW, for a net increase of 2 black.
There are only 16 possible arrangements of 4 pieces, so if you calculate the change for each of the 16, you will have found all the possible ways the totals can change.