This should be
`if (Config.compareProgramVersions(version, "1.6.99") < 0) {`
and at the same time, you should change `Config.LATEST_VERSION` to `1.6.99.2`. So that this code is executed only **once**.