added unique index for currency_code and store_id
fixed redirect after exception in save action