Catch all integrity errors when adding existing categories and slides

This is the part of the code which should be wrapped by `try - except`. everything else is safe.