Set group after settings are set

This should fix issue #51