Allow for a custom string or function to build toolbar