Added checkbox option for saving data

Added checkbox to ui used to determine whether to save analysis data
images files.