Fixing pull-to-refresh