Record role add/remove events.
Only log theme change event if the theme actually changed.