-logic for UI & ColorToggleButton