bug fix submission hanlder (id); bug fix offline app form instance save on device