delete button in save option menu now works
refactoring save functions
added test button into debug menu