Added method for obtaining versionCode