implement deleting locations
implemented setting xyz for location through buttons