private void MapPage_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Shift || e.Key == Key.Space)
     {
         this.pressedKey = Key.Unknown;
         WidgetBase widget = WidgetManager.FindActiveWidget();
         if (widget != null)
         {
             widget.ResetDrawObjectMode();
         }
         else
         {
             this.ResetDrawObjectMode();
         }
     }
 }