add UI Elements and Listener