added option to set syntax for toolbar picker