Why did the Mormons chose the Salt Lake to live?

Because the prophet of the Mormon church at the time felt that that was where God had led them.

Because it was remote and isolated, so they hoped they would be separated and protected from the rest of the US, where they had been the objects of what was later called pogroms.