remove duplicate activities , remain the newest one