Fixing nullpointer issue with creating new contact person