Changed preset arrays to get their length from numberOfMemories
Prevent indexOutOfBounds in load