CmdMarkItemDone refractored, logged, error handled, commented + unit test