Fixed application crash on Edit window