Correcting locationListener issue