NoDataInjector uses inheritance
Don't create button if menu has no elements