Mark finished rescan from notification.

Fixes #99.