Setting of allowed actions once, results in less updates of the toolbar.