Added delete activity functionality