Fixed the pull to refresh bug and the color coding bug.