refactoring select currency