Add indexeddb and data sync support
Hook up data sync to button