Add support for Offline mode to demonstrate persistence.