adding repaint method in setnewcolours

karishma Nune