added offline mode and icon