AI-576 : added activity only if it belongs to category (not all db activities)