Fixed open config amibuity with calc gui
added exit app for calc gui