Update NewGroupActivity

removed bug in generating new group id - There was a problem in getting a new id while creating a new group.