Changed cancel button to reset.