Refactoring

Of GUI parts and also close the menu with KEY_NSPIRE_ESC