Added ActionListener's and functionality to UI