GUI: fixed create sub-group

 - fixed case when no parent group is available
Merge pull request #83 from zlamalp/groupfix

GUI: fixed create sub-group