Widget code cleanup

Usage of nullptr for activeFriendWidget and activeGroupWidget is more simple.