[#28] Group selection lost selected groups on save when edited again, Closes #28