Added callback for editing the conditional