title: Running sync adapter periodically
body: <p>I have implemented sync adapter functionality in my application. I am allowing the user to use the app in offline mode and whatever are the changes in the database during that offline mode are saved in a table and I want to sync that table's data to the server according to the periodic sync functionality.
  I have given the options in settings as hourly,daily and weekly sync. 
  The problem that I am facing is that the table's data is synced as soon there is an internet connection available despite of the sync frequency selected by the user. Please help me to resolve this issue</p>