fix issue with toolbar buttons not updating state