SubmitNewActivity function added