Fixed the bug to show the no entry icon after setAdapter().