Properly initialized the location services