Fixed recreation of a default theme with the same name after deletion of a custom theme