Fix switching between friends and settings via routes