Change setting of pressed state.