Refactor the TouchLocationActivity, for readability