Fixed lagging when changing friends caused by fragment transactions

and some other stuff