DocumentActivity: Really remember the new System ID.

Otherwise, the list of tables would be empty after creating a new
system.
Add some comments
DocumentActivity: More use of getSystemId() instead of the raw field.