fixed problem with not removing layer, groupingstore should be used instead of simple store