change pad color to match state.