Bugfix to pull to refresh