Fix ClassCastException on no BaseAdapter