Fixed MainFrame naming issue

Removed allowing an extra character at the end of formattedDateOfWork in
AddPaintingAuctionPanel