Okay, it might be better to use a listbox for the tiles
The app works now. Not very pretty, though.