[PATCH v2 6/7] cmd: button: store button state in the 'button' env