don't write write keycodes and modifiers directly into classvars -
rather let that be handled by the save-mechanism.

Signed-off-by: nuss <st9fan@gmail.com>