uncommented updateButtonsWithImages in index.html