Added facility to manually mark an activity as synchronized.