Changed the UI of the MainActvity so that it now shows the total number of miles you've racked up.  It does the calculate in the onResume method so that any change you make are reflected pretty quickly in the uI.  I also removed the notification that you're leaving a fence and modified the one for entering so that if all trip segments were business related it sets the flag in the database for all elements of that trip are business related and will add it to your mileage calculation.