commit before refactoring of OfferWidget in Frontend
refactoring of rate calculation