Config file is now written after the first time the application is closed.