To set a Location to Active, click on the 'Locations Overview' option in the main menu. Find the Location that you want to set to Active and click the arrow to reveal the dropdown menu, then click 'Active'.
Follow the same steps to set a Location to ad-hoc, but click 'Ad-hoc' from the dropdown menu instead of 'Active'.