Many-body effects in the appearance potential spectrum of barium