Changed to use dropdown deviceType

Changed to use a drop down for the device type (internally a string) so further device types can be added in the future.