Correct form item adding in the same position; Correction for task method declaration in the JNI code.