adding auto-save button