Implemented Save button