Extract common ui element attributes to mixins.
Unselect current tile when selecting new tile.