Removed unnecessary enum and icon color setting function