Added possibility of loading last cached version of model when it has no internet connection.