set the Decision button Function