Added miles or kilometers toggle.

Added to device view.