Fixing the loop on location update and listing the places