rename onError to handleError in DocumentActivity just to make sure we unintentionally repeat bug #23