Cut long lines
Fix #745: Reload history when add, update or delete attachments