Initialize enabledPages to prevent errors if no pages selected