[composer] Ensure UI is syncronized with legend item state
[composer] Correctly save/restore legend title alignment