Added a helper to handle switch currency on the view files