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

Fix out of sync live widget and actual app setting.