Changed onClickListener for data submit button to pass ProgramData to main activity