SHIFT-click the icon in the tree for advanced settings. =)
More re-usable
Use alt-key. Change icons when alt-key is pressed.

Changed to alt key, also, now there is visual feedback for what will happen if you ALT-click.
Moved JS to cms.changelist.js
Very minor improvement, more comments
Merge pull request #3131 from mkoistinen/advanced_settings

ALT-click the icon in the tree for advanced settings. =)