Save the current recipe before the app shuts down.