Code cleanup in function setMeeting()