working of cancel button changed