Fixed crash related to AbstractLoader

AsyncTaskLoader.deliverResults() may reset the loader. We should perform
actions from onNewDataDelivered before potential onReset() execution.