Fixed syncing app, added check for last sync before undertaking sync