Update index.html

changed so that data item and all associated settings are accessed by a single number for selecting from array