two bugs fixed:
when a resource has no activity:
1)list of available contents show only the contents created by the same
provider
2) the part of unit button is not selected when any available activities
is selected for the resource.