Fix of cancel button