Fixes issues with adding characters when adding or refreshing a key.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #158 from Acidity/feature/fixKeys

Fixes issues with adding characters when adding or refreshing a key.