fix fail to trigger pull to refresh by programing