[base] CustomDataMgr: fixes recently added setCustomData() to return the actual expected value