Added code to determine the current appropriate preset based on the slots assigned.