Removed if clauses in PersonTui to reduce cyclomatic complexity.