Update ApplicationResourceManager.java

Bug: Resource Manager always writes the first version, but reads a file with the last version (method version.checkCurrent()).