remove duplicates in getNewActivity