function signature corrected for incrementAchievement in JNIHelper