when an activity is modified, reset its lastTime counter