Correctly check for PropertyChange action

Currently the check for propertyChange is not working (It compares twice undefined). This PR fixes this. But as consequence stashing no longer happens for newly created ToDo entities, since for them no propertyChange event is raised.