Added missing code from ProductListFragment