Refactor the code to remove references to the locationview from the timer and kmlrecorder.