added tags at end of each activity, detect tag changes in recent activity, setup time function for get activity function so can abitrary get past actiivties