Added offline mode: hides buttons which cannot be accessed offline,
and adds an indicator.