GUI: custom error handling for more calls

- Added custom error handling for calls AssignGroupToResources
  and AssignGroupsToResource.
- Fixed custom error texts.