Added device type to DB when registering the plugin