pick up selected category from tree view when creating GLAccount

This pull contains fix for MIFOSX-347, For now this is working fine when we select "ASSETS","LIABILITY","EQUITY","INCOME","EXPENSE" i.e. for the topmost parent Items its works fine if we select any child element then by default ASSETS will select.