Rework menu to get rid of type check warnings.
Rework menu to get rid of type check warnings.

codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client