refactoring - removed unused code from Home screen