Changing around some of the functionality to write out the values of each edit text