add new function changeRandomColor to refactoring init (adapt random function to this changes)