Adds pull-to-refresh functionality on the home screen.
This change enhances user experience by allowing users to
manually refresh the home screen content. It also ensures
that the loading indicator is correctly managed during
refresh operations, using a try-finally block.
adds a hook that refetches home data when the app
returns to the foreground or starts from a cold start.
this ensures the home screen always displays the
most up-to-date content.