Modified onclick handler in buttons
Renamed get_selected and get_host functions to get_selected_site and
get_hosts. Improved documentation.