- added functionality to start only new or canceled syncs
- corrected and optimized message counter