register main window as listener to playlist clicks