Modifying function of OpenWorld handler when adding to list of sensors