Updated the setHeight method of the LampsUtils object