UI sample cleanup