Make some cosmetic updates of the source manager
- Ensure that the assign profile box properly rollup and rolldown when needed.
- Ensure that activation/desactivation of functions when clicking on a button are properly handled
- Rename find duplicates in clean up.