the dependency on southPanel should not be here, we should e.g. use events so that the listener code can be in the app and only the app needs to know about the southPanel.