Fixed app chrash on device orientation change during loading of data.