Update main.py

changed "device_sel" to device_sel_ui"