Modified FragmentEnterRun to take input from the Total Distance field and put it into the database