Bump version code to 4 and version to 1.3.1.