deleted duplicate cancl button click method