updated icon image in add device page
rearranged code for readability