Update ui.pl

Fixed incorrect release dates after editing items.