update example to use uicolor instead of colorref