add singleton class to share data, implement colorviewcontroller