Will now save the model on termination/background