fixed bug for older versions of android not having addAll