Real implementation of offline mode feature