Fix #467 - Make app work in offline mode