make new action listener for MainFrame