Enable and disable button independently of command