Added default values for state when creating new records. Fixed #132 .