Extract TileUI creation into a method