Improve 'offline' mode, when app is started by offline browser