changes to onTouch

onTouch sends coordinates to an arrayList that is submitted in real time
or when the submit button is pressed depending on the toggle