Fixed bug related to onLoadFinished getting called unintentionally on app resume