Show error reason for blacklisted files in sync activity.
Save and restore activity view state.

Fixes bug #1256