Re-sync immediatly after "Keep files" when all files were removed

Fixes #1710