changing saveSelectionButton, showViewButton to boolean, and renaming