Using UButton::SetStyle(OtherStyle) updates detail panel but doesn't serialize

My bad here. I was using a transient reference. I directly modified the asset using the Asset Registry and it worked.
Big thanks to Eduard Gelbling.