Set this.doneLoading to true after loading.