Using selector, user can see name of capital of respective American state