Crash fixes for the pull-to-refresh and fast switching between tabs