Moved addActionListener method in CustomHandler.java