More error handling for add and detail activities.