on page 219 out of nowhere you are using the method-call updateDate(). In the first instance I suspected that this method was reserved/supplied by android as its name looks like some sort of pre-defined method.
But it is not. You manually implement the method on page 223. So this might be worth a record in your errata-list