Code Refactoring.
Fix a bug caused by code refactoring.
Remove pulltorefresh example.