Sets or toggles the flag bit for the given key in the cell's style. If the value parameter is not set, then the flag is toggled.