Remove extra empty lines
Moved clearChildren() to .doAction()