fix for broken keyboard settings
bad closing callbacks
Merge pull request #1783 from Lusito/keyboardfix

Fixes for some bugs in Cinnamon-Settings