1. if (!isServiceRunning())  =>  if (isServiceRunning())
2. isServiceRunning() always returns false  => changed getSimpleName() to getName()
3. isServiceRunning:function() {  => isServiceRunning:function(isServiceRunning, errorLogger) {
4. Add sqliteCtrl.getNewerThan(datetimeLastSync)