Pencil tool and fix color changes