selectmenu  is emptied and refrehsed with new data, new array AddedeDevices stores the new devices added for insertion