cancel button issue on status change