Fixed bug in HomeFragment.