Code cleanup for color sensor boot program