App no longer crashes without internet connection