Rewrite menu for lattice editor

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>