Fix a crash when updating activity report.

We need to keep old document alive when setting a new one, because
QTextView wants to disconnect itself from some old document's signals.
Merge pull request #170 from endocode/activity-report-update-fix

Fix a crash when updating activity report.