Fixed caps lock function

Turns out previous update had not correctly added caps lock
functionality