currency switch implemented

Implemented the functionality to invert currencies using the switch
button.