Implmented 'save' button