fix for quiting app after first configuration