Added miles or kilometers toggle

Added to device view.
Merge pull request #160 from pcaddict08/master

Added miles or kilometers toggle.