[Fixed] if exit the activity,the sql operation can not be executed.