Fixed refreshing issue when adding new devices on Mac.