Fixed crash in file transfer due to backgroundtaskid not being initialized + removed unused header in jni