Changed the char pointer string to char array in addDataToDictionary function