Fix out of sync live widget and actual app setting. Refactor appState. Introduce config.js
Merge pull request #15 from brooklyndevs/fix-offlineOnLaunch

Fix out of sync live widget and actual app setting.