Fix a bug with toolbar style configuration