20130918 Modify history activity, add delete function.