added set interval timer for getting location