changing sync data to sendData(vector<IconStruct>)