Fix ValueError in keyboard component output code

Running an experiment from the Builder view using a keyboard component
raised a ValueError because a format string had an error in its syntax.
Merge pull request #412 from philippwiesemann/master

Fix ValueError in keyboard component output code