Fixed Enable/Disable of actions in the toolbar