modify deleteActivity