Improved behavior of favorites fragment.