Added preferences to class for amount and currency