Fix a few typos

This solves the issue with the wrong box being highlighted and the buttons not doing anything.