Finish Save function