select deselect choices

refactored code a little
started on settings for comparing before files are deleted.