Avoid putting kivy widgets in dicts or sets as they are not hashable in some versions of kivy
compare kvid instead of widgets for equality