Fixed bug with new locationactivity