Added progress logic for homefragment