Refactor all view task