bugfix: error on showing stocks list and no price history items
compact and better code on updating stock history
bugfix: OnDateFormatChanged event not fired (duplicate assignment), so it was not possible to change date format