*Adding capability to use customToolbbarButtons config option inside Toolbox as well and updating event name by making it more general.