trigger refresh on function option changes, style fix
Merge branch 'option_templates'