fix a bug for AppCursorAdapter that may null point exception