Added fix for home screen fragment replacement.