You have displayView() in the case above, but not here.  That seems like a bug.  Or maybe I just can't see some other call to displayView in this diff.