added status change for items and database.
bug: sometimes first status change of a newly created item isn't
recorded in database. why?