registerType(CustomMessage.DEFAULT_IMAGE_TYPE, "", "");
//Register persisted types
ToIntHashtable customTypeTable = inboxMessages.getCustomTypeTable();
if(!customTypeTable.isEmpty()){
for(Enumeration e =customTypeTable.keys();e.hasMoreElements();){
String JSON = (String) e.nextElement();
int commaIndex = JSON.indexOf(',');
String newImage = JSON.substring(12, commaIndex);
String readImage = JSON.substring(commaIndex+13,JSON.length()-1);
int type = customTypeTable.get(JSON);