Fix cancel button helper