Now when sync is completed, we save timestamp.
Improved work with settings and groups.