Set release key. Wrote db version to prefs.