Various smaller fixes for pull-to-refresh + call function 'setPullToRefreshState' on pull to refresh header/footer