Documentation for the setActive function in the Helpers file.