Update build.gradle.
Change config save func.