WebScrapper UI Code Refactoring