call generate_callback on config option change

This ensures that when a buffers config option is changed, the bar is re-generated immediately with the changed option.