flake8
Making sure all buttons return to the caller tab
Moving the updating of the investigation type to a UIModule and adding this information to the preprocessed data