DDF-399 fixed typo with finish button logic