added pull to refresh to the main activity