replace function strcasestr with strstr because strcasestr is not defined by C99 standard
fix an error with wrong defined id for record which user wants to set
fix an error with defining of id of the record which user wants to delete