Fix for add friend not always working

Fix for add friend not always working