Added new Save button function