Quick fix on race condition that enum through toolbar when it is not loaded