[PDI-10744] - verify operations when setting toolbar button states