TUI - when an alias is removed, a public key should be used instead

It doesn't work correctly, when a user remove an alias name during modification.

image

Related to #358 (closed)

Edited by Aleksandra Grabowska