Cancel button works propperly