Update location when view enters foreground