fix error where gof plot was not updating
deleting unused code
move fitButton onto next line