Refactors reload_editor method
Sets title just before textview modified signal

Sets the title just before sending textview modified signal so the tasks
with open editors, related to the deleted tag, aren't listed in Task
Browser.
Merge pull request #1 from partp/delete-tag

Refactors reload_editor method