Default currency

This pull request fixed #169 and #212.