Fix bug that cancel view transition because of an undefined variable.
Update versionCode to 7 and versionName to 1.3.1.
Refactor.
Update README.md by adding "before generate a new release" section.