Fixes that it was not possible to edit theme after cancel