Fixed undefined index and adding tickbox to BuddyPress

Fixed undefined index and adding tickbox to BuddyPress users profile
link in WangGuard Users