Renamed listener and added set_title