Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.