Removed duplicate code in SpritesListFragment