Updating the list of connected devices should be made when the menu appears, without forcing the user to keep manually clicking "Refresh devices" button - this would improve UX.
Also, exception handling should be added to ensure that querying the devices list does not make the program crash.
Updating the list of connected devices should be made when the menu appears, without forcing the user to keep manually clicking "Refresh devices" button - this would improve UX. Also, exception handling should be added to ensure that querying the devices list does not make the program crash.