finishes activity before restarting on sync