Added Edit and Delete for activity records