How to start application with GUI?