Modifying media type of div agenda-item