Your sub-vi should change the background color of the table in the calling vi, not in the sub-vi. To do that, you have to get a reference to the table in the main vi, then pass this ref to the sub-vi.
Have a look at the example below.
Chilly Charly (aka CC)