Fixed a risk of nullpointerexception in groupsactivity when passed a null groups list in the callback.