private void SaveHotKey(HotKey hotkey) { var database = new Database(); database.SaveHotKey(hotkey); myApp.InitHotkeys(); InitHotKeys(); }