Added saving config to web sql db, ready it and updating it.