Feature/caps lock for password box

Resolves #1456 
I guess the changes in the file are by mistake?