Made Task#localId final. See TODOs in Task. Tasks are written to DB only upon construction. They need to be saved every time user modifies them. In setters such as Task#setName(String), insert code that rewrites to DB.