Optimize GUI of Friend Activity.