Change save method (key press instead of mouse click)